package com.wsoft.bpm.node;

import cn.hutool.core.util.StrUtil;
import lombok.Getter;

/**
 * @Author zhonglj
 * @Date 2024-09-12 17:09
 */
@Getter
public class TextNode {
    private String text;

    public TextNode setText(String text) {
        if (StrUtil.isBlank(text)) {
            this.text = "";
        } else {
            this.text = text;
        }

        return this;
    }
}
